package com.graduation.table.clazz.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.graduation.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 班级表
 * @Author: jeecg-boot
 * @Date:   2022-04-08
 * @Version: V1.0
 */
@Data
@TableName("class")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="class对象", description="班级表")
public class Clazz extends BaseEntity {
    
	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
	private String id;
	/**班级人数*/
    @ApiModelProperty(value = "班级人数")
	private Integer number;
	/**口号*/
    @ApiModelProperty(value = "口号")
	private String slogan;
	/**班主任*/
    @ApiModelProperty(value = "班主任")
	private String teacher;
	/**班级名称*/
    @ApiModelProperty(value = "班级名称")
	private String name;
	/**辅导员*/
    @ApiModelProperty(value = "辅导员")
	private String instructor;

    private String images;

    @TableField(exist = false)
	private String[] imgList;
}
